<layout name="layout" />
<ul class="uk-breadcrumb">
    <li><a href="__APP__">Home</a></li>
    <li><a href="__CONTROLLER__/index">My Account</a></li>
    <li class="uk-active"><span>Address</span></li>
</ul>
<table class="uk-table">
    <thead>
        <tr>
            <th>Name</th>
            <th>Details</th>
            <th>ZIP</th>
            <th>Phone</th>
            <th>Gender</th>
            <th>Type</th>
            <th>View</th>
        </tr>
    </thead>
    <tbody>
        <volist name="list" id="vo">
            <tr>
                <td>{$vo.addr_firstname}{$vo.addr_lastname}</td>
                <td>{$vo.addr_street},{$vo.addr_city}
                    <br> {$vo.addr_state},{$vo.addr_country}
                </td>
                <td>{$vo.addr_zip}</td>
                <td>{$vo.addr_phone}</td>
                <td>{$vo['addr_gender']?'Male':'Female'}</td>
                <td>{$vo['addr_type']?'Billing Address':'Shipping Address'}</td>
                <td><a href="__CONTROLLER__/addressdetails/addr_id/{$vo.addr_id}">View Details</a></td>
            </tr>
        </volist>
    </tbody>
</table>
